package com.aurora.service.impl;

import com.aurora.dao.BoastsDao;
import com.aurora.entity.Boasts;
import com.aurora.service.BoastsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>(Boasts)表服务实现类
 *
 * @author makejava
 * @since 2022-11-04 13:48:24
 */
@Service("boastsService")
public class BoastsServiceImpl extends ServiceImpl<BoastsDao, Boasts> implements BoastsService {

    /**
     * 随机获取一条数据
     */
    @Override
    public Boasts random() {
        return this.baseMapper.random();
    }
}

